#ifndef __PVCALC_H_INCLUDED__
#define __PVCALC_H_INCLUDED__

#include <utility>
#include <string>
using namespace std;

// defines


class Pvcalc 
{
public:
	
	// constructor
	Pvcalc( int width , int height , float score ,unsigned  int accurracy, bool print );
					
	// calcul
	string compute();	
	
	
    //debug
    void print();
    			
    // destructeur
    ~Pvcalc();
    
protected:
     
     void findEquation( pair<float,float> &pt1 , pair<float,float>& pt2 , float& a ,  float& b ,  float& c);
     
     
     
     int   _width	  ;
     int   _height	  ;
     float _score	  ;
     float _ways	  ;
     unsigned int   _accurracy ;    
     bool  _print     ;
};

#endif /* __PVCALC_H_INCLUDED__ */
